package cat.music.ut

import cat.music.ut.bean.parseAudioInfo
import org.junit.Test

import org.junit.Assert.*

/**
 * Example local unit test, which will execute on the development machine (host).
 *
 * See [testing documentation](http://d.android.com/tools/testing).
 */
class ExampleUnitTest {
    @Test
    fun addition_isCorrect() {
        val parseAudioInfo =
            parseAudioInfo("level:bcms,bitrate:22000,format:mgg,size:23.58Mb;level:zply,bitrate:20900,format:mflac,size:199.79Mb;level:zpga501,bitrate:20501,format:mflac,size:84.46Mb;level:zpga201,bitrate:20201,format:mflac,size:33.29Mb;level:ff,bitrate:2000,format:flac,size:34.25Mb;level:p,bitrate:320,format:mp3,size:11.41Mb;level:h,bitrate:128,format:mp3,size:4.56Mb;level:s,bitrate:48,format:aac,size:1.72Mb;level:h,bitrate:100,format:ogg,size:3.25Mb;level:zp,bitrate:20000,format:zp,size:zpMb")
        println(parseAudioInfo)
    }
}